import Cookies from "js-cookie";
import Vue from "vue";
import Element from "element-ui";

import "./assets/icons"; // icon

import App from "./App";
import store from "./store";
import router from "./router";
import "./permission";
Vue.use(Element, {
  size: Cookies.get("size") || "medium", // set element-ui default size
});

new Vue({
  el: "#app",
  router,
  store,
  render: (h) => h(App),
});
